<me:UIMAXORD x:Class="WPFExcelReport.TMAXORD"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                     xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"    
                     x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIMAXORD.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>  
        <ucd:BoolToVisibilityConverter  x:Key="bv"/> 
    </me:UIMAXORD.Resources>
    <WrapPanel Grid.Row="0"  Margin="0,0,0,0">

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0"  Margin="20,0,0,0" 
                                    VerticalAlignment="Center" HorizontalAlignment="Center"   Text="{Binding Source={Localization:Translate Word=Order}}"></TextBlock>
            <TextBox Grid.Column="1"  Margin="20,0,0,0"  Text="{Binding MAXORD,ElementName=TV}" Width="Auto"  ></TextBox>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0"  Margin="20,0,0,0" 
                                    VerticalAlignment="Center" HorizontalAlignment="Center"   Text="{Binding Source={Localization:Translate Word=USD2RMB}}"></TextBlock>
            <TextBox Grid.Column="1"  Margin="20,0,0,0"  Text="{Binding USD2RMB,ElementName=TV}" Width="100"  ></TextBox>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0"  Margin="20,0,0,0" 
                                    VerticalAlignment="Center" HorizontalAlignment="Center"   Text="{Binding Source={Localization:Translate Word=RATE1}}"></TextBlock>
            <TextBox Grid.Column="1"  Margin="20,0,0,0"  Text="{Binding RATE1,ElementName=TV}" Width="100" ></TextBox>
        </Grid>
    </WrapPanel>
</me:UIMAXORD> 
 
